Skip to content

Conversation

@jan-cerny
Copy link
Collaborator

The audit rules should contain filters for the system architecture. If the system is a 64bit system there should be 2 rules that differ in architecture filter - one for 32bit and one for 64bit. This change will make rule audit_rules_privileged_commands consistent with specialized rules that use the audit_rules_privileged_commands template.

The commit simplifies OVAL checks by extracting common code to Jinja macros.

Resolves: https://issues.redhat.com/browse/RHEL-142647

Review hints

Run automatus tests on RHEL 10.

@jan-cerny jan-cerny added this to the 0.1.80 milestone Jan 27, 2026
@jan-cerny jan-cerny added bugfix Fixes to reported bugs. RHEL10 Red Hat Enterprise Linux 10 product related. labels Jan 27, 2026
@github-actions
Copy link

github-actions bot commented Jan 27, 2026

ATEX Test Results

Test artifacts have been submitted to Testing Farm.

Results: View Test Results
Workflow Run: View Workflow Details

This comment was automatically generated by the ATEX workflow.

The audit rules should contain filters for the system architecture.  If
the system is a 64bit system there should be 2 rules that differ in
architecture filter - one for 32bit and one for 64bit. This change will
make rule `audit_rules_privileged_commands` consistent with specialized
rules that use the `audit_rules_privileged_commands` template.

Resolves: https://issues.redhat.com/browse/RHEL-142647
Reduce code duplication by extracting similar code to macros.
@jan-cerny
Copy link
Collaborator Author

I have rebased this PR on the top of the latest upstream master branch.

@Mab879 Mab879 self-assigned this Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes to reported bugs. RHEL10 Red Hat Enterprise Linux 10 product related.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants